﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace MyPSDALayer
{
    [MetadataType(typeof(TopTeamMetaData))]
    public partial class TopTeam
    {
        private class TopTeamMetaData
        {
            [Required(ErrorMessage = "不能为空")]
            [Display(Name = "团队名称")]
            public string TeamName { get; set; }
            [Display(Name = "描述")]
            public string Descr { get; set; }
            [Required(ErrorMessage = "请选择")]
            [Display(Name = "是否显示到首页")]
            public string ISIndex { get; set; }
            [Display(Name = "封面图片")]
            public string CoverUrl { get; set; }
            public string CreateBy { get; set; }
            public Nullable<System.DateTime> CreateDate { get; set; }
            public string ModifyBy { get; set; }
            public Nullable<System.DateTime> ModifyDate { get; set; }
        }
    }
}
